<title>User | Sign Up</title>

<div id="view-content">
    <h2><?= $this->translate('sign_up'); ?></h2>
    <div class="row-fluid">        
        <div class="span4 well">
            <?php if ($this->formErrors != null) { ?>
                <div class="alert alert-error">
                    <button type="button" class="close" data-dismiss="alert">&times;</button>
                    <?= $this->formErrors[0] ?>
                </div>
            <?php } ?>
            <?php echo $this->signupForm; ?>
            <?php
            if ($this->isFacebookActivated):
                ?>
                <hr>
                <center><b><?= $this->translate('or'); ?></b></center><br> <a class="btn btn-large btn-primary span12" href="<?= $this->fbLoginUrl ?>"><img src="http://<?= $_SERVER['SERVER_NAME'] ?>/bootstrap/img/fblogo_29.png"> &nbsp;&nbsp; <?=$this->translate('sign_up_fb');?></a>
                <?php
            endif;
            ?>
        </div>        
    </div>    
    <a href="<?= $this->url(array(), 'userslogin'); ?>" class="btn btn-mini btn-info"><i class="icon-circle-arrow-left icon-white"></i> <?=$this->translate('login');?></a>
    <a href="<?= $this->url(array(), 'resend-activation'); ?>" class="btn btn-mini btn-info"><i class="icon-envelope icon-white"></i> <?=$this->translate('resend_conf_email');?></a>
</div>